<?php
session_start();
ini_set('max_execution_time', 600);
error_reporting(E_ALL);
include "includes/comunes.php";
 if($_SESSION['usuTipo'] >= 0)
     header("Location:panel.php");
	 

$ruta_destino = '/codigos/';
copy($_FILES['file']['tmp_name'], $ruta_destino.$_FILES['file']['name']);
echo $ruta_destino.$_FILES['file']['tmp_name'];


?>